package com.sl.au.service;

import java.util.List;
import java.util.Map;

import com.sl.au.entity.ContractInfo;
import com.sl.au.entity.ExdeTbOPPlanTask;
import com.sl.au.entity.ExdeTbOPPlanTaskDetail;
import com.sl.au.entity.ExdeTbOPPlanTaskDetailReplace;
import com.sl.au.entity.QuoteDevice;
import com.sl.au.entity.QuoteReplacement;
import com.sl.au.entity.User;
import com.sl.au.repository.ExdeSchedulingRepository;
import com.sl.au.repository.ExdeTbOPPlanTaskDetailReplaceRepository;
import com.sl.au.repository.ExdeTbOPPlanTaskDetailRepository;

public interface ExdeSchedulingService extends BaseService {

	ExdeSchedulingRepository getExdeSchedulingRepository();
	
	ExdeTbOPPlanTaskDetailRepository getExdeTbOPPlanTaskDetailRepository();
	
	ExdeTbOPPlanTaskDetailReplaceRepository getExdeTbOPPlanTaskDetailReplaceRepository();

	List<ExdeTbOPPlanTask> getContractInfos(int start, int length, Map<String, String> condition, String orderName ,String dir);

	long getContractInfosCount(Map<String, String> condition);

	String getPlanNumber();

	List<ExdeTbOPPlanTaskDetail> getPlanTaskDetail(int start, int length, String id, String orderName ,String dir);

	long getPlanTaskDetailCount(int i, int maxValue, String id, String orderName ,String dir);
	
	List<ExdeTbOPPlanTaskDetailReplace> getPlanTaskDetailReplace(int start, int length, String id, String orderName ,String dir);

	long getPlanTaskDetailReplaceCount(int i, int maxValue, String id, String orderName ,String dir);

	int deletePlanTask(String[] ids, User user);

	int saveExdeTbOPPlanTask(String[] ids, User user);

	String genQuoteDocx(String id, String sender);

	int regainPlanTask(String[] ids, User user);

	int issuedplan(String[] ids, User user);

	String genBJScheduling(String id, User user);

	int updateExdeTbOPPlanTask(String[] ids, User user);


	
}
